<?php
namespace app\index\controller;
use app\index\controller\Base;
use app\index\model\Set;
use app\index\model\Good;
use app\index\model\Coupon;
use app\index\model\Instance;
use app\index\model\User;
use app\index\model\Log;

class Index extends Base
{
    public function set()
    {
    	$data=Set::all();
    	$this->success($data);
    }
     public function good()
    {
    	$data=Good::all();
    	$this->success($data);
    }
     public function coupon()
    {
    	$data=Coupon::all();
    	$this->success($data);
    }
     public function instance()
    {
    	$data=Instance::all();
    	$this->success($data);
    }
     public function user()
    {
    	$data=User::all();
    	$this->success($data);
    }
     public function log()
    {
    	$data=Log::all();
    	$this->success($data);
    }
    
}
